package info.nixbear.tgcms.admin.shared.request;

import info.nixbear.tgcms.domain.Template;
import info.nixbear.tgcms.services.dao.EntityLocator;

import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.EntityProxyId;
import com.google.web.bindery.requestfactory.shared.ProxyFor;

@ProxyFor(value=Template.class,locator=EntityLocator.class)
public interface TemplateProxy extends EntityProxy {

	public Long getId();

	public Long getVersion();

	public void setVersion(Long version);

	public String getName();

	public void setName(String name);

	public String getContentType();
	
	public void setContentType(String contentType);
	
	public String getHtmlAsString();

	public void setHtmlAsString(String html);
	
	public Long getParentTemplateId();
	
	public void setParentTemplateId(Long parentTemplateId);

	EntityProxyId<TemplateProxy> stableId();
	
}